package com.wwl.designpattern.factory.abstractfactory;/**
* @program: DesignPattern
* @description: 抽象工厂测试
* @author: wwl
* @create: 2019-03-13 17:39
**/
public class AbstractFactoryTest {

    public static void main(String[] args) {

        AutoCarFactory factory=new AutoCarFactory();
        factory.createCar().start();
        factory.createApple().eat();

    }
}
